home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / netupdt.zip / README.DOC < prev    next >
Text File  |  1991-08-30  |  4KB  |  91 lines

  1. The following files should be included:
  2.  
  3.    ALIAS.EXE - Used to build the ALIAS DATABASE
  4.    UPDATE.EXE - Used to update the file on the local pc
  5.    README.DOC - The file you are reading now
  6.  
  7. Purpose:
  8.  
  9.    To allow the system administrator to distribute new versions of files
  10.    to workstations. The program, UPDATE, builds a database keyed on the
  11.    STATION ID. If the ID# is found in the database, then the workstation
  12.    has already been updated. If not, the new file is sent to the workstation
  13.    and the ID is added to the database.
  14.  
  15.    As of this date this program will only distribute files, it will not
  16.    handle complete directories.
  17.  
  18. Instructions:
  19.  
  20.    Place UPDATE.EXE in a directory accessible by the users (such as PUBLIC).
  21.    Place ALIAS.EXE in the PUBLIC directory.
  22.  
  23.    Make one directory under PUBLIC called UPGRADED and give the following
  24.    trustee rights to the group EVERYONE [RWC EF]
  25.  
  26.    Determine which files you want to update. For example, say you want to
  27.    put down a new autoexec.bat file. Run ALIAS (you must run alias from a
  28.    network directory, and you must be either mapped to it, or in it.).
  29.  
  30.    The progam will prompt you for the name of the filesystem to use...
  31.    Pressing enter will use the default (\PUBLIC\UPGRADED\ALIAS). Press
  32.    enter. The progam will then inform you that it will be using the default
  33.    database. Press enter again. You are now ready to start.
  34.  
  35.    Press 'A' to add a new entry. Decide on a code (the code can be anything,
  36.    it is simply a shorthand way of referencing the files. I usually use
  37.    1A, 1B & 1C (1A for the file name on the PC, 1B for the file name on the
  38.    SERVER, and 1C for the file name to backup the original file to.) So,
  39.    after you put the code in, press enter. Then enter a description... this
  40.    is only a comment for you so you know what the file is. Press enter. Then
  41.    enter the file name (fully qualified - complete path and file name).
  42.    Press enter. Now do the same thing twice more, for the server file name
  43.    and the backup file name.
  44.  
  45.    The reason I use ALIAS is rather simple. Originally when I wrote UPDATE
  46.    I didn't see a need for it. But when you start to use rather long path
  47.    names (for the workstation and the server), you could run out of room on
  48.    the command line.
  49.  
  50.    After the ALIAS database has been built, you are ready for step2. This
  51.    can be accomplished in a few ways. The way I do it, which I think is
  52.    the best is... I create a batch file called (whatever), and in the batch
  53.    file is issue the UPDATE command(s). This batch file is then invoked
  54.    through the command facility in the system login script as such...
  55.  
  56.      #COMMAND /C \PUBLIC\SENDNEW.BAT
  57.  
  58.    In the SYSTEM LOGIN SCRIPT, add the following line BEFORE you put the
  59.    command to run SENDNEW.BAT (otherwise you will get ERROR OBTAINING SYSTEM
  60.    ID)
  61.  
  62.      DOS SET ID = "%P_STATION"
  63.  
  64.    (The quotes are included in the command)
  65.  
  66.    After SENDNEW executes, you can place the line DOS SET ID= in the system
  67.    login script to remove the variable ID from the environment.
  68.  
  69.    The syntax and principle behind UPDATE is very simple. Type UPDATE to
  70.    see the command line syntax. All files should have an entry in the ALIAS
  71.    database, including the message text file (fn_4), if you choose to use one.
  72.  
  73.    The "db" parameter of UPDATE allows you to build as many databases as you
  74.    wish... Therefore, you can have one database for each file you want to
  75.    update.
  76.  
  77.    --------------------------------------------------------------------------
  78.  
  79.  
  80.    I have only used this program on NW 3.x (because that's my network). As long
  81.    as you can extract the system ID, there's no reason why it wouldn't work
  82.    on another NOS.
  83.  
  84.    --------------------------------------------------------------------------
  85.  
  86.    Please feel free to distribute this program, but please do not modify it
  87.    of the documentation.
  88.  
  89.    Should you have any questions or comments, please leave me mail on CIS
  90.    to user id: 70650,3154.
  91.